package com.kai.admin.enums;

import com.wf.captcha.*;
import com.wf.captcha.base.Captcha;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.experimental.FieldDefaults;

/**
 * 验证码枚举
 *
 * @author weijk
 * @since 2023/7/23
 */
@Getter
@FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
@AllArgsConstructor
public enum CaptchaEnum {

    SPEC(new SpecCaptcha()),
    GIF(new GifCaptcha()),
    CHINESE(new ChineseCaptcha()),
    CHINESE_GIF(new ChineseGifCaptcha()),
    ARITHMETIC(new ArithmeticCaptcha());

    Captcha captcha;
}
